home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 117 / MacAddict 117.dmg / Software / Internet & Communication / Xyle scope 1.1.6 (trial).dmg / Xyle scope.app / Contents / Resources / HTML 4.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2006-02-07  |  5.7 KB  |  421 lines

  1. /* 
  2.  * The default style sheet used by khtml to render HTML pages
  3.  * (C) Lars Knoll (knoll@kde.org) 2000
  4.  *
  5.  * Konqueror/khtml relies on the existence of this style sheet for
  6.  * rendering. Do not remove or modify this file unless you know
  7.  * what you are doing.
  8.  */
  9.  
  10. @namespace "http://www.w3.org/1999/xhtml";
  11.  
  12. html {
  13.     display: block
  14.  
  15. /* The children of the <head> element all have display:none */
  16.  
  17. head { 
  18.     display: none
  19. }
  20.      
  21. meta {
  22.     display: none
  23. }
  24.  
  25. title {
  26.     display: none
  27. }
  28.  
  29. link {
  30.     display: none
  31. }
  32.  
  33. style {
  34.     display: none
  35. }
  36.  
  37. script {
  38.     display: none
  39. }
  40.  
  41. /* generic block-level elements */
  42.  
  43. body {
  44.     display: block;
  45.     margin: 8px
  46. }
  47.  
  48. p {
  49.     display: block;
  50.     margin: 1.0__qem 0px
  51. }
  52.  
  53. div {
  54.     display: block
  55. }
  56.  
  57. layer {
  58.     display: block
  59. }
  60.  
  61. marquee {
  62.     display: inline-block;
  63.     overflow: marquee
  64. }
  65.  
  66. address {
  67.     display: block
  68. }
  69.       
  70. blockquote {
  71.     display: block;
  72.     margin: 1__qem 40px 1em 40px
  73. }
  74.  
  75. q {
  76.     display: inline
  77. }
  78.  
  79. q:before {
  80.     content: '"'
  81.     /* FIXME: content: open-quote; */
  82. }
  83.  
  84. q:after {
  85.     content: '"'
  86.     /* FIXME: content: close-quote; */
  87. }
  88.  
  89. iframe, embed, object {
  90.     width: 300px;
  91.     height: 150px
  92. }
  93.  
  94. center {
  95.     display: block;
  96.     /* special centering to be able to emulate the html4/netscape behaviour */
  97.     text-align: -khtml-center
  98. }  
  99.  
  100. hr {
  101.     display: block;
  102.     margin: 0.5em auto;
  103.     border-style: inset;
  104.     border-width: 1px
  105. }
  106.  
  107. map {
  108.     display: inline
  109. }
  110.  
  111. /* heading elements */
  112.       
  113. h1 {
  114.     display: block;
  115.     font-size: 2em;
  116.     margin: .67__qem 0 .67em 0;
  117.     font-weight: bold
  118. }
  119.       
  120. h2 {
  121.     display: block;
  122.     font-size: 1.5em;
  123.     margin: .83__qem 0 .83em 0;
  124.     font-weight: bold
  125. }
  126.       
  127. h3 {
  128.     display: block;
  129.     font-size: 1.17em;
  130.     margin: 1__qem 0 1em 0;
  131.     font-weight: bold
  132. }
  133.       
  134. h4 {
  135.     display: block;
  136.     margin: 1.33__qem 0 1.33em 0;
  137.     font-weight: bold
  138. }
  139.  
  140. h5 {
  141.     display: block;
  142.     font-size: .83em;
  143.     margin: 1.67__qem 0 1.67em 0;
  144.     font-weight: bold
  145. }
  146.  
  147. h6 {
  148.     display: block;
  149.     font-size: .67em;
  150.     margin: 2.33__qem 0 2.33em 0;
  151.     font-weight: bold
  152. }
  153.  
  154. /* tables */
  155.  
  156. table {
  157.     display: table;
  158.     border-collapse: separate;
  159.     text-align: -khtml-auto;
  160.     border-spacing: 2px;
  161.     border-color: gray
  162. }
  163.  
  164. table[align="center"] {
  165.     margin-left: auto;
  166.     margin-right: auto
  167. }
  168.  
  169. thead {
  170.     display: table-header-group;
  171.     vertical-align: middle;
  172.     border-color: inherit
  173. }
  174.       
  175. tbody {
  176.     display: table-row-group;
  177.     vertical-align: middle; 
  178.     border-color: inherit
  179. }
  180.       
  181. tfoot {
  182.     display: table-footer-group;
  183.     vertical-align: middle;
  184.     border-color: inherit
  185. }
  186.  
  187. col {
  188.     display: table-column
  189. }
  190.  
  191. colgroup {
  192.     display: table-column-group
  193. }
  194.  
  195. tr {
  196.     display: table-row;
  197.     vertical-align: inherit;
  198.     border-color: inherit
  199. }
  200.  
  201. td, th {
  202.     display: table-cell;
  203.     vertical-align: inherit
  204. }
  205.  
  206. th {
  207.     font-weight: bold
  208. }
  209.  
  210. caption {
  211.     display: table-caption;
  212.     text-align: -khtml-center
  213. }
  214.  
  215. /* Lists */
  216.  
  217. ul, menu, dir {
  218.     display: block;
  219.     list-style-type: disc;
  220.     margin: 1__qem 0 1em 0;
  221.     -khtml-padding-start: 40px
  222. }
  223.  
  224. ol {
  225.     display: block;
  226.     list-style-type: decimal;
  227.     margin: 1__qem 0 1em 0;
  228.     -khtml-padding-start: 40px
  229. }
  230.  
  231. li {
  232.     display: list-item
  233. }
  234.  
  235. ul ul, ol ul {
  236.     list-style-type: circle
  237. }
  238.  
  239. ol ol ul, ol ul ul, ul ol ul, ul ul ul {
  240.     list-style-type: square
  241. }
  242.  
  243. dd {
  244.     display: block;
  245.     -khtml-margin-start: 40px
  246. }
  247.  
  248. dl {
  249.     display: block;
  250.     margin: 1__qem 0 1em 0
  251.  
  252. dt {
  253.     display: block
  254. }
  255.  
  256. ol ul, ul ol, ul ul, ol ol {
  257.     margin-top: 0;
  258.     margin-bottom: 0
  259. }
  260.  
  261. /* form elements */
  262.  
  263. form {
  264.     display: block;
  265.     margin: 0__qem 0 1em 0
  266. }
  267.  
  268. legend {
  269.     display: block;
  270.     padding-left: 2px;
  271.     padding-right: 2px;
  272.     border: none
  273. }
  274.  
  275. fieldset {
  276.     display: block;
  277.     margin-left: 2px;
  278.     margin-right: 2px;
  279.     padding: 0.75em 0.625em;
  280.     border: 2px groove ThreeDFace
  281. }
  282.  
  283. button {
  284.     display: inline-block;
  285.     border: 2px outset ButtonFace;
  286.     background-color: ButtonFace;
  287.     color: ButtonText;
  288.     padding: 2px 2px 2px 2px;
  289.     cursor: default
  290. }
  291.  
  292. button:active {
  293.     border-style: inset
  294. }
  295.  
  296. input, textarea {
  297.     text-align: -khtml-auto
  298. }
  299.  
  300. /* If we support for CSS2 system fonts, then we won't have to hard code Lucida Grande here. */
  301. input, textarea, select, button {
  302.     margin: 0__qem;
  303.     font: 11px 'Lucida Grande';
  304.     color: initial
  305. }
  306.  
  307. input[type="hidden"] {
  308.     display: none
  309. }
  310.  
  311. input[type="radio"], input[type="checkbox"] {
  312.     margin: 3px 0.5ex
  313. }
  314.  
  315. option, optgroup, area, param {
  316.     display: none
  317. }
  318.  
  319. /* inline elements */      
  320.       
  321. u, ins {
  322.     text-decoration: underline
  323. }
  324.       
  325. strong, b {
  326.     font-weight: bolder
  327. }
  328.       
  329. i, cite, em, var, address {
  330.     font-style: italic
  331. }
  332.       
  333. tt, code, kbd, samp {
  334.     font-family: monospace
  335. }
  336.       
  337. pre, xmp, plaintext {
  338.     display: block;
  339.     font-family: monospace;
  340.     white-space: pre;
  341.     margin: 1__qem 0
  342. }
  343.       
  344. big {
  345.     font-size: larger; 
  346. }
  347.       
  348. small {
  349.     font-size: smaller; 
  350. }
  351.  
  352. s, strike, del {
  353.     text-decoration: line-through
  354. }
  355.  
  356. sub {
  357.     vertical-align: sub;
  358.     font-size: smaller
  359. }
  360.  
  361. sup {
  362.     vertical-align: super;
  363.     font-size: smaller
  364. }
  365.  
  366. nobr {
  367.     display: inline;
  368.     white-space: nowrap
  369. }
  370.  
  371. wbr {
  372.     white-space: normal
  373. }
  374.  
  375. /* End Inline Elements */
  376.  
  377. :focus { 
  378.     outline: auto 3px #1f5ccf
  379. }
  380.  
  381. html:focus, body:focus { 
  382.     outline: none
  383. }
  384.  
  385. a:-khtml-any-link {
  386.     color: -khtml-link;
  387.     text-decoration: underline
  388. }
  389.  
  390. a:-khtml-any-link:active {
  391.     color: -khtml-activelink
  392. }
  393.  
  394. /* Bidirectionality settings */
  395.  
  396. bdo[dir="ltr"]  {
  397.     direction: ltr;
  398.     unicode-bidi: bidi-override
  399. }
  400.  
  401. bdo[dir="rtl"]  {
  402.     direction: rtl;
  403.     unicode-bidi: bidi-override
  404. }
  405.       
  406. /* End bidi settings */
  407.  
  408. /* other elements */
  409.  
  410. noframes {
  411.     display: none
  412. }
  413.  
  414. frameset, frame {
  415.     display: block
  416. }
  417.  
  418. /* noscript is handled internally, as it depends on the html settings */
  419.